.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.carousel img {
    width: 100%;
    height: 100%;   
    min-height: 800px;
    animation: aniScaleBan 10s linear forwards;
    transform: scale(1.1); /* 初始放大 110% */
    animation: zoomIn 8s ease-out forwards;
    transform-origin: center center; /* 确保从中心开始缩放 */
}
@keyframes zoomIn {
    from {
        transform: scale(1);
        
    }
    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

.carousel h2 {
    position: absolute;
    top: 40%; /* 自定义最终位置 */
    left: 20%;
    transform: translateX(-50%);
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0;
    animation: slideIn 1.2s ease-out forwards;
    z-index: 2;
    /* 在h2样式中添加 */
    animation-delay: 0.5s; /* 添加动画延迟 */
    font-size: 3rem; /* 调整字体大小 */
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7); /* 加强阴影效果 */
    letter-spacing: 2px; /* 增加字间距 */
    animation-delay: 0.5s; /* 保持原有延迟 */
}
.carousel p.subtitle {
    font-weight: bold;
    font-family: objectivity-black-slanted-2;
    font-size: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 82%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: absolute;
    top: 25%;
    left: 30%;
    transform: translateX(-50%);
    font-size: 190px;
    letter-spacing: 2px;
    animation: slideIn 1.2s ease-out forwards;
    animation-delay: 0.5s;
    z-index: 2;;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-100%) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
} 
/* 新增样式 */
.company-header {
    text-align: center;
    padding: 60px 0 40px;
    background: #f8f9fa;
}

.company-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.company-header p {
    font-size: 1.2rem;
    color: #666;
    letter-spacing: 2px;
}


.contact-container {
    
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    margin: 0 auto;    /* 水平居中 */
    display: flex;      /* 启用弹性布局（根据原有结构推测可能需要） */
    justify-content: space-between; /* 内部元素分列两侧 */
    align-items: center; 
    padding: 0 130px;
    height: 850px;
    margin-top: -120px;
    
    
}

.contact-image {
    
    width: 600px;
    min-width: 300px;
    height: 400px;
    background: url('https://picture-xinjuhang.oss-cn-beijing.aliyuncs.com/uploads/images/Contact-Us/fon.png') no-repeat 
    center / contain ;
    border-radius: 8px;
    
}
.subSpBgTit {
    padding-left: 125px;
    margin-top: 50px;
    margin-bottom: 80px; /* 增大底部间距，防止文字压到图片 */
    position: relative;
}
.subSpBgTit p {
    font-size: 160px;
    line-height: 174px;
    letter-spacing: 0em;
    color: #F2F7FD;
    text-stroke: 1px #064CA1;
    -webkit-text-stroke: 1px #064CA1;
    opacity: 0.2;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}
.subSpBgTit h2 {
    font-family: REEJI-PinboGB-Flash;
    font-weight: 400;
    font-size: 2.6041666667vw;
    color: #111111;
    line-height: 3.3854166667vw;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.contact-info {
    flex: 1;
    padding-left: 50px;
    margin-top: 20px;
}

.title-group {
    margin-top: 40px;
    margin-bottom: 40px;
}

.contact-title {
    font-size: 30px;
    color: #333;
    border-left: 4px solid #007bff;
    padding-left: 15px;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.contact-subtitle {
    margin-left: 30px;
    color: #666;
    font-size: 18px;
}

.info-groups-container {
    display: flex;
    flex-direction: column;
    gap: 65px;
}

.info-row {
    display: flex;
    
    gap: 50px;
    margin-top: 20px;
}
.info-row .info-group
.info-group {
    flex: 1;
}
.info-row .info-group:nth-child(2) {
    margin-left: 30px; /* 调整具体数值 */
  }
.group-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    width: 45px;
    height: 45px;
    object-fit: cover;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    color: #000000;
    font-size: 16px;
}

.info-email {
    font-size: 18px;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.info-email:hover {
    color: #0056b3;
}

/* 地图 */
.map-container {
    width: 1200px;
    height: 600px;
    margin: 80px auto;
    max-width: 1200px;
    
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* 温馨提示 */

.kindly-remind {
    position: relative;
    height: 200px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 20px 0;
    z-index: 10; /* 添加z-index确保显示在其他内容之上 */
}

.kindly-remind .wrapper {
    position: relative;
    z-index: 11; /* 确保内容在背景之上 */
}

.kindly-remind::before,
.kindly-remind::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent 0%, 
        #ccc 50%,    
        transparent 100%);
    z-index: 9; /* 确保线条在背景之上，但在内容之下 */
}

.kindly-remind::before {
    top: 0;
}

.kindly-remind::after {
    bottom: 0;
}

.concact-con {
    text-align: center;
    position: relative;
    z-index: 12; /* 确保文字内容在最上层 */
}

.concact-con .titles {
    font-size: 34px;
    color: #000000;
    margin-bottom: 8px;
}

.concact-con .des {
    font-size: 16px;
    color: #000000;
    margin-top: 30px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.concact-con .titles,
.concact-con .des {
    opacity: 0;
    transform: translateY(20px);
}

/* 进入视口后触发的动画 */
.concact-con.animate .titles,
.concact-con.animate .des {
    animation: gentleAppear 2s ease-out forwards;
}

@keyframes gentleAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    80% {
        opacity: 1;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* .clearfix:after {
    content: '\0020';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
} */
 /* 添加信息窗口样式 */
/* 样式补充 */
.route-panel {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    max-height: 60vh;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    padding: 15px;
    overflow-y: auto;
    display: none; /* 默认隐藏 */
}

.nav-btn {
    background: #3385FF;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    display: block; /* 转换为块级元素 */
    margin: 10px auto 0; /* 上边距保持10px，左右自动居中 */
    border-radius: 8px !important; 
    padding: 10px 20px;
    font-size: 15px;
    transition: all 0.3s;
}


.amap-info-content {
    border-radius: 15px !important;
    overflow: hidden !important;
}

.amap-info-sharp {
    display: none !important; /* 隐藏默认箭头 */
}
.amap-info-content {
    padding: 0;
}
.more.red.nb {
    display: inline-block;
    background: #FF4D4F;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    margin-top: 12px;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid #FF4D4F;
}

.more.red.nb:hover {
    background: #FF7875;
    border-color: #FF7875;
    box-shadow: 0 2px 8px rgba(255,77,79,0.3);
}

.more.red.nb i {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M754.752 544H224a32 32 0 1 1 0-64h530.752L521.376 218.624a32 32 0 0 1 45.248-45.248l288 288a32 32 0 0 1 0 45.248l-288 288a32 32 0 0 1-45.248-45.248L754.752 544z" fill="%23ffffff"/></svg>') no-repeat center;
    background-size: contain;
    vertical-align: middle;
}

.info-window {
    text-align: center;
    padding: 20px !important;
    min-width: 220px;
}

.info-window h3 {
    margin: 0 0 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}
/* 在about.css中添加 */
:root {
    --nav-height: 80px; /* 根据实际导航栏高度修改 */
  }
  
  /* 现代浏览器方案 */
  :target {
    scroll-margin-top: var(--nav-height);
  }
  
  /* 传统浏览器兼容方案 */
  :target::before {
    content: "";
    display: block;
    height: var(--nav-height);
    margin-top: calc(-1 * var(--nav-height));
    visibility: hidden;
  }
  
  /* 响应式适配 */
  @media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }
}

/* 响应式设计 */
@media screen and (max-width: 1920px) {
    .contact-container {
        padding: 0 80px;
    }
    
    .subSpBgTit {
        padding-left: 100px;
        margin-top: 40px;
        /* margin-bottom: 70px; */
    }
    
    .subSpBgTit p {
        font-size: 140px;
        line-height: 154px;
    }
    
    .subSpBgTit h2 {
        font-size: 2.4vw;
        line-height: 3.1vw;
        margin-top: -50px;
    }
    
    .kindly-remind {
        height: 180px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .map-container {
        width: 90%;
    }
    
    .carousel img {
        height: 100vh;
        min-height: 700px;
    }
}

@media screen and (max-width: 1440px) {
    .contact-container {
        padding: 0 60px;
        height: auto;
        /* flex-direction: column; */
        gap: 30px;
    }
    
    .contact-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-info {
        padding-left: 0;
        width: 100%;
        margin-bottom: 0;
        margin-top: 0;
    }
    
    .subSpBgTit {
        padding-left: 80px;
        margin-top: 30px;
        margin-bottom: 160px;
    }
    
    .subSpBgTit p {
        font-size: 100px;
        line-height: 134px;
    }
    
    .subSpBgTit h2 {
        font-size: 3.2vw;
        line-height: 2.8vw;
        margin-top: -45px;
    }
    
    .carousel img {
        height: 95vh;
        min-height: 600px;
    }
    
    .carousel h2 {
        font-size: 2.8rem;
        left: 25%;
    }
    
    .carousel p.subtitle {
        font-size: 160px;
        left: 35%;
    }
    
    .kindly-remind {
        height: 160px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 1180px) {
    .contact-container {
        padding: 0 50px;
        height: auto;
        gap: 25px;
    }
    
    .contact-image {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    

    
    .subSpBgTit {
        padding-left: 70px;
        margin-top: 25px;
        margin-bottom: 155px;
    }
    
    .subSpBgTit p {
        font-size: 90px;
        line-height: 124px;
    }
    
    .subSpBgTit h2 {
        font-size: 2.8vw;
        line-height: 2.6vw;
        margin-top: -42px;
    }
    
    .carousel img {
        height: 95vh;
        min-height: 550px;
    }
    
    .carousel h2 {
        font-size: 2.6rem;
        left: 28%;
    }
    
    .carousel p.subtitle {
        font-size: 150px;
        left: 38%;
    }
    
    .kindly-remind {
        height: 150px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 1024px) {
    .contact-container {
        padding: 0 40px;
    }
    .contact-title {
        flex-direction: column;
        gap: 0;
    }
    .subSpBgTit {
        padding-left: 60px;
        margin-top: 25px;
        margin-bottom: 150px;
    }
    
    .subSpBgTit p {
        font-size: 88px;
        line-height: 104px;
    }
    
    .subSpBgTit h2 {
        font-size: 2rem;
        line-height: 2.6rem;
        margin-top: -40px;
    }
    
    .info-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .info-row .info-group:nth-child(2) {
        margin-left: 0;
    }
    
    .carousel h2 {
        font-size: 2.5rem;
        left: 30%;
    }
    
    .carousel p.subtitle {
        font-size: 140px;
        left: 40%;
    }
    
    .carousel img {
        height: 90vh;
        min-height: 500px;
    }
    
    .kindly-remind {
        height: 140px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 768px) {
    .contact-container {
        padding: 0 20px;
        flex-direction: column;
    }
    
    .subSpBgTit {
        padding-left: 40px;
        margin-top: 20px;
        margin-bottom: 140px;
    }
    
    .subSpBgTit p {
        font-size: 80px;
        line-height: 94px;
    }
    
    .subSpBgTit h2 {
        font-size: 1.8rem;
        line-height: 2.2rem;
        margin-top: -35px;
    }
    
    .contact-title {
        font-size: 24px;
    }
    
    .contact-subtitle {
        font-size: 16px;
    }
    
    .carousel h2 {
        font-size: 2rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .carousel p.subtitle {
        font-size: 100px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .carousel img {
        height: 60vh;
        min-height: 400px;
    }
    
    .kindly-remind {
        height: 120px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .concact-con .titles {
        font-size: 24px;
    }
    
    .concact-con .des {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .contact-container {
        padding: 0 15px;
    }
    
    .subSpBgTit {
        padding-left: 20px;
        margin-top: 15px;
        margin-bottom: 160px;
    }
    
    .subSpBgTit p {
        font-size: 50px;
        line-height: 74px;
        margin-top: 0px;
    }
    .record-info {
        margin-top: 0px;
           font-size: 10px;
    }
    .icon-group {
       margin-bottom: 60px; 
    }
    .contact-image {
        width: 100%;
        height: 300px;
    }
    .subSpBgTit h2 {
        font-size: 1.5rem;
        line-height: 1.8rem;
        margin-top: -30px;
    }
    
    .contact-title {
        font-size: 20px;
    }
    
    .contact-subtitle {
        font-size: 14px;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
    }
    
    .info-label {
        font-size: 14px;
    }
    
    .info-email {
        font-size: 16px;
    }
    
    .carousel h2 {
        font-size: 1.8rem;
    }
    
    .carousel p.subtitle {
        font-size: 80px;
    }
    
    .carousel img {
        height: 50vh;
        min-height: 300px;
    }
    
    .concact-con .titles {
        font-size: 20px;
    }
    
    .concact-con .des {
        font-size: 12px;
    }
    
    .kindly-remind {
        height: 100px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

/* 修复导航栏响应式问题 */
@media screen and (max-width: 1280px) {
    .nav {
        min-width: auto;
    }
    
    .nav-items {
        
        min-width: auto;
    }
}


